Method and apparatus for trimming non-volatile memory cells

ABSTRACT

A method and apparatus for trimming a non-volatile memory cell. One method comprising, erasing the memory cell below a desired voltage threshold (Vt) level, applying a program pulse to the memory cell, reading the memory cell, comparing a current conducted by the memory cell with an externally provided reference current using a sense amplifier that is internal to a memory device that contains the memory cell, producing a digital output based on the comparison of the currents and applying successive program pulses until the digital output changes from one logic state to another.

TECHNICAL FIELD OF THE INVENTION

[0001] The present invention relates generally to non-volatile memories and in particular the present invention relates to trimming non-volatile reference memory cells.

BACKGROUND OF THE INVENTION

[0002] Memory devices are typically provided as internal storage areas in the computer. There are several different types of memory. One type of memory is random access memory (RAM) that is typically used as main memory in a computer environment. Most RAM is volatile, which means that it requires a steady flow of electricity to maintain its contents. Computers often contain a small amount of read-only memory (ROM) that holds instructions for starting up the computer. An EEPROM (electrically erasable programmable read-only memory) is a special type non-volatile ROM that can be erased by exposing it to an electrical charge. Like other types of ROM, EEPROM is traditionally not as fast as RAM. EEPROM comprise a large number of memory cells having electrically isolated gates (floating gates). Data is stored in the memory cells in the form of charge on the floating gates. Charge is transported to or removed from the floating gates by programming and erase operations, respectively.

[0003] Yet another type of non-volatile memory is a Flash memory. A Flash memory is a type of EEPROM that can be erased and reprogrammed in blocks instead of one byte at a time. A typical Flash memory comprises a memory array that includes a large number of memory cells arranged in a row and column fashion. Each memory cell includes a floating gate field-effect transistor capable of holding a charge. The cells are usually grouped into erasable blocks. Each of the memory cells can be electrically programmed in a random basis by charging the floating gate. The charge can be removed from the floating gate by an erase operation. Thus, the data in a cell is determined by the presence or absence of the charge in the floating gate.

[0004] To program a memory cell, a high positive voltage Vg is applied to the control gate of the cell. In addition, a moderate positive voltage is applied to the drain (Vd) and the source voltage (Vs) and the substrate voltage (Vsub) are at ground level. These conditions result in the inducement of hot electron injection in the channel region near the drain region of the memory cell. These high-energy electrons travel through the thin gate oxide towards the positive voltage present on the control gate and collect on the floating gate. The electrons remain on the floating gate and function to reduce the effective threshold voltage of the cell as compared to a cell that has not been programmed. A programmed non-volatile memory cell is said to be at a logic level of “0”.

[0005] In flash memories, blocks of memory cells are erased in groups. This is achieved by putting a negative voltage on the word lines of an entire block and coupling the source connection of the entire block to Vcc (power supply), or higher. This creates a field that removes electrons from the floating gates of the memory elements. In an erased state, the memory cells can be activated using a lower control gate voltage. An erased non-volatile memory cell is said to be at a logic level of “1”.

[0006] Non-volatile memory systems, including flash memory systems, use a variety of sense amplifiers to verify the state of memory cells in a memory array. Verification of a non-volatile memory cell is accomplished by applying a potential to the control gate of the cell to be verified and then using a sense amplifier to compare a current generated by the cell with a known current from a reference cell. The reference cell is a non-volatile memory cell or bit that has a predefined charge that is set or trimmed by the manufacture of the memory to produce a specific reference current in response to a known gate voltage. The sense amplifier determines whether the memory cell to be verified draws more or less current than the reference current. By doing this, the sense amplifier determines if the memory cell is in a programmed state or an erased state.

[0007] The reference cell or cells are pre-programmed by the memory manufactures. The time needed to program these cells to a desired voltage threshold (Vt) can be significant. Moreover, the longer it takes to program the cells the less memory devices can be produced for sale. Therefore, the longer the period of time needed to program reference cells, the more the memory device costs to make.

[0008] For the reasons stated above, and for other reasons stated below which will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for an improved method of pre-programming reference cells.

SUMMARY OF THE INVENTION

[0009] The above-mentioned problems with non-volatile memory devices and other problems are addressed by the present invention and will be understood by reading and studying the following specification.

[0010] A method of trimming a non-volatile memory cell is disclosed comprising erasing the memory cell below a desired voltage threshold (Vt) level, applying a program pulse to the memory cell, reading the memory cell, comparing a current conducted by the memory cell with an externally provided reference current, using a sense amplifier that is internal to a memory device that contains the memory cell, producing a digital output based on the comparison of the currents and applying successive program pulses until the digital output changes from one logic state to another.

[0011] A method of trimming a flash reference cell comprising erasing the reference cell below a desired Vt level, applying a program pulse to the reference cell to increase a floating gate charge of the reference cell, accessing the reference cell to create a cell current in a bitline coupled to a drain of the reference cell, comparing the cell current with an externally provided reference current, wherein the reference current is indicative of a desired memory cell current and applying further program pulses to the reference cell when the cell current is less than the reference current.

[0012] A method of trimming a flash floating gate memory cell comprising erasing the floating gate of the memory cell such that the memory cell remains turned off when a predetermined voltage is applied to a control gate of the memory cell, applying an external reference current to a sense amplifier, wherein the sense amplifier is internal to a memory device that contains the memory cell, providing a program pulse to the memory cell to increase a charge on the floating gate of the memory cell, coupling the predetermined voltage to the control gate, comparing a digitline current provided by the memory cell with the reference current using the sense amplifier and providing additional program pulses to the memory cell while the digitline current is less than the reference current.

[0013] A method of trimming non-volatile reference bits of a memory device comprising erasing each reference bit below a desired voltage threshold, applying a low level program pulse to each reference bit, coupling a predetermined access voltage to control gates of each reference bit to create a bit current in associated bitlines coupled to each reference bit, applying an external provided reference current to the memory device, comparing the external reference current to the bit currents in each of the bitlines with sense amplifiers of the memory device and applying additional program pulses to reference bits coupled to bitlines having bit current levels less than the reference current.

[0014] In one embodiment, a reference cell programming system comprises a memory device and a tester. The memory device includes a memory array having at least one non-volatile reference cell and a sense amplifier coupled to sense a cell current conducted by the reference cell. The tester is coupled to the memory to program the reference cells to a designated charge level. Moreover, the tester provides a reference current that is coupled to the sense amplifier and monitors an output of the sense amplifier.

[0015] In another embodiment, a non-volatile memory device comprises a primary memory array, at least one non-volatile reference memory cell and sense circuitry. The primary memory array has a plurality of memory cell. The sense circuitry is used to monitor the logic state of the memory cells. In addition, the memory device has an input connection to couple an external reference current to the sense circuitry to be used during the programming of the reference memory cell.

[0016] In another embodiment, a reference program tester to pre-program a reference memory cell in a memory device comprises a reference current output, a command output and an input. The reference current output is used to supply a reference current to a sense amplifier of the memory device during pre-programming of the reference memory cell. The command output is used to provide control commands to control circuitry of the memory device and the input is used to receive a logic signal from the memory device. Moreover, the control commands are based on the logic signals received by the input.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017]FIG. 1 is a flow chart illustrating the pre-programming of a reference cell of the prior art.

[0018]FIG. 2 is a block diagram of a memory device of an embodiment of the present invention.

[0019]FIG. 3 is a flow chart illustrating the pre-programming of a reference cell of one embodiment the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0020] In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific preferred embodiments in which the inventions may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical and electrical changes may be made without departing from the spirit and scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the claims.

[0021] The present invention reduces the test time required to trim reference cells to a specific threshold voltage by shortening a verify step with the use of internal sense amplifiers in a memory device. To better understand the present invention, further background is first provided.

[0022] Referring to FIG. 1, a flow chart of a traditional method of trimming a reference cell (200) is illustrated. A reference cell is trimmed by first erasing the reference cell below the desired Vt (202). A program pulse is then applied to the reference bit or cell (204) to store charge on the cell. A bitline access mode is then applied to the reference cell. The bitline access mode is a test mode that places a voltage, i.e. 1 volt, on the drain of the reference cell (206) and a voltage on the control gate of the reference cell (208). A tester portable memory unit (pmu) is then used to measure the current and verify if a reference cell (210) has reached the desired Vt. If the target Vt has not been reached on the reference cell, another program pulse is applied to the reference cell (204). Once again, a voltage is then applied to the drain of the reference cell (206) and to the control gate of the reference cell (208). The tester pmu once again measures the current and verifies if the reference cell (210) has reached the Vt. This process is repeated until it is verified that a sufficient charge has been stored on the floating gate of the reference cell.

[0023] The time required to verify a reference cell with a tester pmu takes a long period of time relative to the time needed to program the reference cell. Activating the tester pmu, to measure the current of the reference cell, can take up to 100 ms. Moreover, it can take seconds to complete verification if repeated cycles of applying program pulses to the reference cell and measuring for Vt is required. Although a tester pmu or reference program tester is used in the present invention, a bitline access mode is not used to measure the current of the reference cell to verify VT, thus no test time is wasted on tester pmu activation for each verify cycle.

[0024] Referring to FIG. 2, one embodiment of the present invention is illustrated. FIG. 2 is a simplified illustration of the relevant elements of the present invention. As shown, a reference program tester or external tester equipment 102 is coupled to a memory device 100 to supply a reference current to an input of sense amplifier 108 in a circuit of sense amplifiers 110. The reference program tester 102 has an input 134 that is coupled to the output of the sense amplifier 108 to verify an output signal of the sense amplifier 108. Although, FIG. 2 illustrates the reference program tester 102 being directly coupled to the output of the sense amplifier 108, it will be understood in the art that other elements of a non-volatile memory device (i.e. I/O buffer, or data lines) may be coupled between the test circuit and the output of the sense amplifier and that the present invention is not limited to a direct connection of the reference program tester 102 to the sense amplifier 108.

[0025] The reference program tester 102 further has a command output(s) 132 that is coupled to control circuitry 1 18 of the memory device 100 to provide external commands to the control circuitry 118. The control circuitry 118 controls erase, program and other memory operations of the memory device 100. A high voltage switch/pump 116 is also shown to provide a voltage source for the program pulses applied to the memory cells. A reference cell or reference memory cell 106 is illustrated in the memory array 104. A drain of the reference cell 106 is coupled to another input of the sense amplifier 108 by a bitline 120. The memory device 100 is further shown as having a column decode circuit 112 and a row decode circuit 114. Although, FIG. 2 is shown as only having one reference cell, it will be understood in the art that a memory device may have more than one reference cell and that the present invention is not limited to one reference cell. Further, the reference cells may be located in a separate “mini” array and not located with the primary data array.

[0026] Referring to FIG. 3, a flow chart of a method of trimming a reference cell (300) of the present invention is illustrated. The reference cell 106 is first erased below a desired Vt (302) by the control circuitry 118. A reference current output 130 of the reference program tester 102 then supplies a reference current to an input of sense amplifier 108. The reference current level is equal to a current level that would be indicative of a current supplied by an accessed memory cell having the desired Vt. The reference current is supplied to the sense amplifier 108 during the remainder of the trimming cycle. A low level program pulse is then applied to the control gate of the reference cell 106 (306) to gently charge up the reference cell 106. The low level program pulse is used to add a small charge to the reference cell. In one embodiment, the low level program pulse includes applying approximately 8 volts to the control gate of the reference cell and approximately 5.4 volts to the drain of the reference cell while the source and the substrate of the reference cell is at ground level. This low level program pulse is applied for a period of approximately 1 ms. The reference cell 106 is then read (308). As known to those in the art, a cell is read by providing a predetermined access voltage to a wordline coupled to a control gate of the cell. For, example, in one embodiment, an access voltage of approximately 3.9 volts is used. In another embodiment, an access voltage of approximately 3.4 volts is used. In response to the access voltage, the cell provides a cell or bit current in a bitline that is coupled to a drain of the cell. The cell or bit current in the bitline is indicative of the charge stored on the cell or bit.

[0027] Reading or accessing the reference cell provides a cell current from the reference cell 106 to the other input of the sense amplifier 108. The sense amplifier 108 then compares the cell current supplied by the reference cell 106 to the reference current supplied by the reference program tester 102 (310). The sense amplifier outputs a logic level of a “1” or a logic level of a “0”. In one embodiment of the present invention, an output of a logic level 1 indicates the reference cell is below the desired Vt and that an additional program pulse is needed and an output of a logic level 0 indicates the reference cell exceeds the desired Vt. In this embodiment, when the output transitions from a logic level 1 to a logic level 0, the trimming cycle is complete. In another embodiment of the present invention, an output of a logic level 0 indicates the reference cell is below the desired Vt and that an additional program pulse is needed and an output of a logic level 1 indicates the reference cell exceeds the desired Vt. In this embodiment, when the output transitions from a logic level 0 to a logic level 1, the trimming cycle is complete. Verifying with the use of internal sense amplifiers of a memory device can be done in approximately 200 ns per cycle. That is, it only takes about 200 ns to verify the state of a reference cell after a program pulse has been applied.

[0028] Unlike the prior art method of verifying a reference cell, the present invention does not directly measure the reference current but monitors the logic output of the memory device containing the reference cell. That is, the present invention verifies a reference cell when the reference cell transitions from a memory cell having a voltage level below the desired Vt to a memory cell having a voltage level above the desired Vt as indicated by the logic output. The resulting voltage level on the reference cell provides a current that is above the reference current. The difference in the resulting voltage level on the reference cell is determined by the strength of the program pulse applied. That is, the lower the strength of the program pulse, the less charge will be stored on the floating gate of the memory cell and the closer the voltage level of the reference memory cell will be to the desired Vt level once the logic output changes. A longer programming pulse will program the reference cell with less programming pulses, but shorter programming pulses provide for a more accurate trim.

Conclusion

[0029] A method and apparatus for trimming a non-volatile memory cell has been disclosed. One method comprising, erasing the memory cell below a desired voltage threshold (Vt) level, applying a program pulse to the memory cell, reading the memory cell, comparing a current conducted by the memory cell with an externally provided reference current using a sense amplifier that is internal to a memory device that contains the memory cell, producing a digital output based on the comparison of the currents and applying successive program pulses until the digital output changes from one logic state to another.

[0030] Although specific methods and embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement, which is calculated to achieve the same purpose, may be substituted for the specific embodiment shown. This application is intended to cover any adaptations or variations of the present invention. Therefore, it is manifestly intended that this invention be limited only by the claims and the equivalents thereof. 

What is claimed is:
 1. A method of trimming a non-volatile memory cell comprising: erasing the memory cell below a desired voltage threshold (Vt) level; applying a program pulse to the memory cell; reading the memory cell; comparing a current conducted by the memory cell with an externally provided reference current using a sense amplifier that is internal to a memory device that contains the memory cell; producing a digital output based on the comparison of the currents; and applying successive program pulses until the digital output changes from one logic state to another.
 2. The method of claim 1 wherein a digital output of a logic level 1 indicates the memory cell has voltage level below the desired Vt, further wherein the successive program pulses are applied until the digital output changes from the logic level 1 to a logic level
 0. 3. The method of claim 1 wherein a digital output of a logic level 0 indicates the memory cell has voltage level below the desired Vt, further wherein the successive program pulses are applied until the digital output changes from the logic level 0 to a logic level
 1. 4. The method of claim 1 wherein the program pulse is a low level program pulse to gently charge up the memory cell.
 5. The method of claim 4 wherein the low level program pulse is a program pulse wherein the program pulse further comprises; applying approximately 8 volts to a control gate of the memory cell for approximately 1 ms; and applying approximately 5.4 volts to a drain of the memory cell concurrently with the 8 volts being applied to the control gate of the memory cell while a source and a substrate of the memory cell are at ground.
 6. The method of claim 1 wherein reading the memory cell further comprises applying a predetermined access voltage to a control gate of the memory cell.
 7. The method of claim 6 wherein the predetermined access voltage is approximately 3.9 volts.
 8. The method of claim 6 wherein the predetermined access voltage is approximately 3.5 volts.
 9. A method of trimming a flash reference cell comprising: erasing the reference cell below a desired Vt level; applying a program pulse to the reference cell to increase a floating gate charge of the reference cell; accessing the reference cell to create a cell current in a bitline coupled to a drain of the reference cell; comparing the cell current with an externally provided reference current, wherein the reference current is indicative of a desired memory cell current; and applying further program pulses to the reference cell when the cell current is less than the reference current.
 10. The method of claim 9 wherein the reference current is supplied by an external tester.
 11. The method of claim 9 wherein a sense amplifier that is internal to a memory that contains the reference cell compares the cell current with the reference current.
 12. The method of claim 11 wherein the sense amplifier provides a digital output of a logic level of 1 when the cell current is less than the reference current and a logic level of 0 when the cell current is greater than the reference current.
 13. The method of claim 12 wherein the program pulses are applied to the reference cell until the digital output of the sense amplifier turns from a logic level 1 to a logic level
 0. 14. A method of trimming a flash floating gate memory cell comprising: erasing the floating gate of the memory cell such that the memory cell remains turned off when a predetermined voltage is applied to a control gate of the memory cell; applying an external reference current to a sense amplifier, wherein the sense amplifier is internal to a memory device that contains the memory cell; providing a program pulse to the memory cell to increase a charge on the floating gate of the memory cell; coupling the predetermined voltage to the control gate; comparing a digitline current provided by the memory cell with the reference current using the sense amplifier; and providing additional program pulses to the memory cell while the digitline current is less than the reference current.
 15. The method of claim of 14 wherein the reference current comes from an external tester equipment coupled to the memory.
 16. The method of claim 15 wherein the external tester equipment monitors a digital output of the memory in determining if the digitline current is less the reference current.
 17. A method of trimming non-volatile reference bits of a memory device comprising: erasing each reference bit below a desired voltage threshold; applying a low level program pulse to each reference bit; coupling a predetermined access voltage to control gates of each reference bit to create a bit current in associated bitlines coupled to each reference bit; applying an external provided reference current to the memory device; comparing the external reference current to the bit currents in each of the bitlines with sense amplifiers of the memory device; and applying additional program pulses to reference bits coupled to bitlines having bit current levels less than the reference current.
 18. The method of claim 17 wherein the external reference current is provided by external tester equipment.
 19. The method of claim 17 wherein the memory device provides a digital output of a logic level 1 or a logic level 0 based on comparing the external reference current with the bit currents.
 20. The method of claim 19 wherein a logic level 1 from the memory device indicates that an associated reference bit needs an additional program pulse.
 21. A reference cell programming system comprising: a memory device including, a memory array having at least one non-volatile reference cell, a sense amplifier coupled to sense a cell current conducted by the reference cell; and a tester coupled to the memory to program the reference cells to a designated charge level, wherein the tester provides a reference current that is coupled to the sense amplifier and monitors an output of the sense amplifier.
 22. The reference cell programming system of claim 21 wherein the sense amplifier compares the cell current with the reference current and provides a logic level output based on the comparison.
 23. The reference cell programming system of claim 22 wherein the reference program tester directs control circuitry of the memory device to provide program pulses to the reference cell based on the logic level output of the sense amplifiers.
 24. The reference cell programming system of claim 23 wherein the reference program tester directs the control circuitry to erase the reference cells prior to providing the program pulses.
 25. A non-volatile memory device comprising: a primary memory array having a plurality of memory cells; at least one non-volatile reference memory cell; sense circuitry to monitor the logic state of the memory cells; and wherein the memory device has an input connection to couple an external reference current to the sense circuitry to be used during the programming of the reference memory cell.
 26. The non-volatile memory device of claim 25 wherein the reference memory cell is located within the primary memory array.
 27. The non-volatile memory array of claim 25 wherein the reference memory cell is a located in a separate array of reference memory cells.
 28. The non-volatile memory cell of claim 25 further comprising: control circuitry to control memory operations, wherein the control circuitry couples a predefined voltage to a control gate of the reference memory cell to create a cell current for the sense circuitry to compare with the external reference current.
 29. The non-volatile memory cell of claim 28 wherein the control circuitry selectively provides program pulses to the reference memory cell.
 30. A reference program tester to pre-program a reference memory cell in a memory device comprising: a reference current output to supply a reference current to a sense amplifier of the memory device during pre-programming of the reference memory cell; a command output to provide control commands to control circuitry of the memory device; and an input to receive a logic signal from the memory device, wherein the control commands are based on the logic signals received by the input.
 31. The reference program tester of claim 30 wherein the logic signals indicate if the reference memory cell is programmed to a desired voltage threshold.
 32. The reference program tester of claim 30 wherein the reference current is indicative of a desired memory cell current.
 33. The reference program tester of claim 30 wherein the control commands of the command output include commands to erase the reference memory cell below a desired voltage threshold and commands to provide program pulses to the reference memory cell. 